<?php defined('SYSPATH') or die('No direct script access.');

class Controller_Admin_Home extends Controller_Admin {

    public function before()
    {
        parent::before();
        
        if ($this->auto_render === TRUE)
        {
            $this->title = '管理后台';
            $this->navigate->add('管理后台');
        }
    }

    public function after()
    {
        if ($this->auto_render === TRUE)
        {
        	;
        }
        
        parent::after();
    }
    
	public function action_index()
	{
		lib_admin::redirect('home/welcome');
	}
	
	public function action_welcome(){
		$this->content = lib_view::factory('default');
	}
	
	public function action_other(){
		$this->content = lib_view::factory('other');
	}
} // End Welcome
